<?php 
/**
* 留言表模型
*/
class MsgModel extends Model
{
	
	public function rand()
	{
		$sql = "select * from msg order by rand() limit 1";

		return M()->query($sql);
	}
}













 ?>